import {createStore ,combineReducers,applyMiddleware} from 'redux'
import thunk from 'redux-thunk';

import shoppingcarReducer from './shoppingcar'
import productsReducer from './products'
console.log(shoppingcarReducer,productsReducer)

const AppReducer=combineReducers({
    shoppingcar:shoppingcarReducer,
    products:productsReducer
})

export const store=createStore(AppReducer,applyMiddleware(thunk))

